package com.changmu.msf.admin.web;

import com.changmu.msf.admin.web.ao.LoginAccountAo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by chang on 2018/9/25.
 *
 * 主页面
 */
@Controller
public class MainController {

    /**
     * 主页面
     * @return
     */
    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String index() {
        return "/index";
    }

    @RequestMapping(value = "/login", method = RequestMethod.POST)
    public String login(LoginAccountAo loginAccountAo) {
        return null;
    }
}
